package com.genokon.druid.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.genokon.druid.entity.GeneOmiEntry;

/**
 * @author by baichaoda
 * @date 2020/9/29 10:00
 */
public interface GeneOmiMapper extends BaseMapper<GeneOmiEntry> {
    /**
     * 插入omi与hpo关系
     * @param omi
     * @param hpo
     * @return
     */
    int insertHpoAndOmi(String omi, String hpo);

    /**
     * 查询关系是否存在
     * @param omi
     * @param hpo
     * @return
     */
    String getRelOfHpoOmi(String omi, String hpo);
}
